gridpack::expnet::BaseExport< _network > Class Template Reference

#include <base_export.hpp>

Collaboration diagram for gridpack::expnet::BaseExport< _network >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BaseExport (gridpack::parallel::Communicator comm)
virtual ~BaseExport ()
void writeDataBlock (std::ofstream &fout, std::vector< text_line > &text_data)

template<class _network>
class gridpack::expnet::BaseExport< _network >


Constructor & Destructor Documentation

template<class _network>
gridpack::expnet::BaseExport< _network >::BaseExport ( gridpack::parallel::Communicator  comm  )  [explicit]

Constructor

template<class _network>
virtual gridpack::expnet::BaseExport< _network >::~BaseExport (  )  [virtual]

Destructor


Member Function Documentation

template<class _network>
void gridpack::expnet::BaseExport< _network >::writeDataBlock ( std::ofstream &  fout,
std::vector< text_line > &  text_data 
)

export text to fstream

Parameters:
fout stream object to export data
text_data vector of text strings that should be written out consecutively, based on values in text_line data data structures.

References gridpack::parallel::Communicator::getGroup(), gridpack::parallel::Communicator::max(), gridpack::parallel::Communicator::rank(), gridpack::parallel::Communicator::size(), and gridpack::parallel::Communicator::sum().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1